#include<iostream>
using namespace std;



int hammingWeight(int n) {
    int count = 0;
    for (int i = 0; i < 32; i++)
    {
        int ret = (n >> i) & 0;
        if (((n >> i) | 0) == 1)
        {
            count++;
        }
    }
    return count;
}

int main()
{
    cout << (11 >> 0) << endl;
    cout << ((11 >> 0) | 0) << endl;

    cout<< hammingWeight(11);


	return 0;
}